package com.wenheng.utils;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Auther: 文恒
 * @Date: 2021/3/24 - 03 - 24 -10:59
 * @Description:com.wenheng.utils
 * @version:1.0
 */
public class DtoUtils {

    public static Map<String,Object> success(String msg){
        Map<String,Object> map = new HashMap<>();
        map.put("msg",msg);
        return map;
    }

    public static Map<String,Object> file(String msg){
        Map<String,Object> map = new HashMap<>();
        map.put("msg",msg);
        return map;
    }

}
